package com.example.demo;
import com.example.demo.common.JwtUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
@SpringBootApplication

public class DemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
    @Bean
    public JwtUtils jwtutils(){
        return new JwtUtils();
}
}
/*
* <result column="数据库字段名" property="实体类属性" jdbcType="数据库字段类型" />
* */


/*
*
spring.datasource.url = jdbc:mysql://localhost:3306/center_system?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.username = root
spring.datasource.password = 971230lpl
spring.datasource.driverClassName = com.mysql.jdbc.Driver
mybatis.mapper-locations= classpath:mapper/*.xml
server.port=8089
jwt.config.key=saasskdkaskd
jwt.config.ttl=3600000

* */